package com.yuyou.activity.comm.service.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 
 */
public class PayRefundTrade implements Serializable {
    /**
     * 主键
     */
    private Long payRefundTradeId;

    /**
     * 退款流水
     */
    private String tradeSn;

    /**
     * 退款申请订单主键
     */
    private Long payRefundId;

    /**
     * 退款申请订单编号
     */
    private String refundId;

    /**
     * 支付中心请求报文
     */
    private String zyRequest;

    /**
     * 支付中心返回报文
     */
    private String zyResponse;

    /**
     * 状态码
            4010	无效参数：refundId
            4011	无效签名
            4012	无效订单：未能定位到支付订单记录/订单标识参数无效/未能定位到交易记录/该订单未支付不能退款
            4013	无效退款金额:退款金额小于0或者大于订单总金额
            4014	累加退款总金额大于支付订单总金额
            4015	同一退款订单不能重复提交
            5000	退款失败：第三方支付平台退款处理返回失败
            
     */
    private String code;

    /**
     * 创建时间
     */
    private Date createTime;

    private static final long serialVersionUID = 1L;

    public Long getPayRefundTradeId() {
        return payRefundTradeId;
    }

    public void setPayRefundTradeId(Long payRefundTradeId) {
        this.payRefundTradeId = payRefundTradeId;
    }

    public String getTradeSn() {
        return tradeSn;
    }

    public void setTradeSn(String tradeSn) {
        this.tradeSn = tradeSn;
    }

    public Long getPayRefundId() {
        return payRefundId;
    }

    public void setPayRefundId(Long payRefundId) {
        this.payRefundId = payRefundId;
    }

    public String getRefundId() {
        return refundId;
    }

    public void setRefundId(String refundId) {
        this.refundId = refundId;
    }

    public String getZyRequest() {
        return zyRequest;
    }

    public void setZyRequest(String zyRequest) {
        this.zyRequest = zyRequest;
    }

    public String getZyResponse() {
        return zyResponse;
    }

    public void setZyResponse(String zyResponse) {
        this.zyResponse = zyResponse;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}